/**
 *
 */

package vn.smartware.co.java.net.commons;


/**
 * Const
 * 
 * @author thuctt
 */
public class Const {

	/**
	 * LOG ext
	 */
	public static final String LOG_EXT = ".log";

	/**
	 * CSV ext
	 */
	public static final String CSV_EXT = ".csv";

	/**
	 * BAK ext
	 */
	public static final String BAK_EXT = ".bak";

	/**
	 * DAT ext
	 */
	public static final String DAT_EXT = ".dat";
	
	/**
	 * LOCK ext
	 */
	public static final String LOCK_EXT = ".lock";
	
	/**
	 * ZIP ext
	 */
	public static final String ZIP_EXT = ".zip";

	/**
	 * CHAR_CODE_DEFAULT It belongs to the OS
	 */
	public static final String CHAR_CODE_DEFAULT = System.getProperty("file.encoding");

	/**
	 * CHAR_CODE_JIS = "ISO2022JP
	 */
	public static final String CHAR_CODE_JIS = "ISO2022JP";

	/**
	 * CHAR_CODE_SJIS = "SHIFT-JIS"
	 */
	public static final String CHAR_CODE_SJIS = "SHIFT-JIS";

	/**
	 * CHAR_CODE_MS932 = "MS932"
	 */
	public static final String CHAR_CODE_MS932 = "MS932";

	/**
	 * LINE_FEED_DEFAULT
	 */
	public static final String LINE_FEED_DEFAULT = System.getProperty("line.separator");

	/**
	 * LINE_FEED_CRLF = "\r\n"
	 */
	public static final String LINE_FEED_CRLF = "\r\n";

	/**
	 * LINE_FEED_CR = "\r"
	 */
	public static final String LINE_FEED_CR = "\r";

	/**
	 * LINE_FEED_LF = "\n"
	 */
	public static final String LINE_FEED_LF = "\n";

	/**
	 * BLANK 
	 */
	public static final String BLANK = " ";
	
	/**
	 * LOG_DIR = "C:/Temp/"
	 */
	public static final String LOG_DIR = "C:/Temp/";
	
	/**
	 * COMMA
	 */
	public static final String COMMA = ",";
	
	/**
	 * DOUBLE_QUOTATION = (")
	 */
	public static final String DOUBLE_QUOTATION = "\"";
	
	/**
	 * DEFAULT_TIMEOUT = 1000
	 */
	public static final int DEFAULT_TIMEOUT = 1000;
	
	/**
	 * DEFAULT_MAX_RETRY = 3
	 */
	public static final int DEFAULT_MAX_RETRY = 3;
	
	/**
	 * DEFAULT_INTERVAL_RETRY = 100
	 */
	public static final int DEFAULT_INTERVAL_RETRY = 100;
	
	/**
	 * DEFAULT_ENCODING = "UTF-8"
	 */
	public static final String DEFAULT_ENCODING = "UTF-8";
	
	/**
	 * COLON = ":"
	 */
	public static final String COMBO_SEPERATE = " : ";
	
	/**
	 * HTTP_SUFFIX = "http://"
	 */
	public static final String HTTP_PREFIX = "http://";
	
	/**
	 * HTTPS_SUFFIX = "https://"
	 */
	public static final String HTTPS_PREFIX = "https://";
	
	/**
	 * CONTENT_TYPE_OCTEC_STREAM = "application/octet-stream"
	 */
	public static final String CONTENT_TYPE_OCTEC_STREAM = "application/octet-stream; charset=utf-8";
	
	/**
	 * CONTENT_TYPE_URL_ENCODED = "application/x-www-form-urlencoded"
	 */
	public static final String CONTENT_TYPE_URL_ENCODED = "application/x-www-form-urlencoded; charset=utf-8";
	
	/**
	 * OS name
	 */
	public static final String OS = System.getProperty("os.name");
	
	/**
	 * DEFAULT_METHOD = "POST"
	 */
	public static final String DEFAULT_METHOD = "POST";

	/**
	 * ID_CODE_FTP_CONNECTION_FAIL = "1"
	 */
	public static final String ID_CODE_FTP_CONNECTION_FAIL = "1";
	/**
	 * ID_CODE_FTP_LOGIN_FAIL = "2"
	 */
	public static final String ID_CODE_FTP_LOGIN_FAIL = "2";
	/**
	 * ID_CODE_FTP_LOGOUT_FAIL = "3"
	 */
	public static final String ID_CODE_FTP_LOGOUT_FAIL = "3";
	/**
	 * ID_CODE_FTP_TRANSFER_BINARY_MODE_FAIL = "4"
	 */
	public static final String ID_CODE_FTP_TRANSFER_BINARY_MODE_FAIL = "4";
	/**
	 * ID_CODE_FTP_TRANSFER_ASCII_MODE_FAIL = "5"
	 */
	public static final String ID_CODE_FTP_TRANSFER_ASCII_MODE_FAIL = "5";
	/**
	 * ID_CODE_FTP_PASV_FAIL = "6"
	 */
	public static final String ID_CODE_FTP_PASV_FAIL = "6";
	/**
	 * ID_CODE_FTP_CONNECTION_PORT_FAIL = "7"
	 */
	public static final String ID_CODE_FTP_CONNECTION_PORT_FAIL = "7";
	/**
	 * ID_CODE_FTP_TRANSFER_FOLDER_FAIL = "8"
	 */
	public static final String ID_CODE_FTP_TRANSFER_FOLDER_FAIL = "8";
	/**
	 * ID_CODE_FTP_TRANSFER_LIST_FAIL = "9"
	 */
	public static final String ID_CODE_FTP_TRANSFER_LIST_FAIL = "9";
	/**
	 * ID_CODE_FTP_GET_FILENAME_FAIL = "10"
	 */
	public static final String ID_CODE_FTP_GET_FILENAME_FAIL = "10";	
	/**
	 * ID_CODE_FTP_GET_FILE_FAIL = "11"
	 */
	public static final String ID_CODE_FTP_GET_FILE_FAIL = "11";
	/**
	 * ID_CODE_FTP_PUT_FILENAME_FAIL = "12"
	 */
	public static final String ID_CODE_FTP_PUT_FILENAME_FAIL = "12";
	/**
	 * ID_CODE_FTP_PUT_FILE_FAIL = "13"
	 */
	public static final String ID_CODE_FTP_PUT_FILE_FAIL = "13";
	/**
	 * ID_CODE_FTP_DEL_FILE_FAIL = "14"
	 */
	public static final String ID_CODE_FTP_DEL_FILE_FAIL = "14";
	/**
	 * ID_CODE_FTP_NOOP_FAIL = "15"
	 */
	public static final String ID_CODE_FTP_NOOP_FAIL = "15";
}
